package com.example.reader.mapper;

import com.example.reader.entity.OrdersItem;
import java.util.List;

public interface OrdersItemMapper {

    int insert(OrdersItem ordersItem);

    void updateById(OrdersItem ordersItem);

    void deleteById(Integer id);


    OrdersItem selectById(Integer id);

    List<OrdersItem> selectAll(OrdersItem ordersItem);

    List<OrdersItem> selectByOrderId(Integer orderId);
}
